package com.corpgovernment.organization.entity.db.budget;

import com.corpgovernment.common.entity.db.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

@Getter
@Setter
public class BudgetItemEntity extends BaseEntity {
    /**
     * 预算配置Id
     */
    private String budgetId;

    /**
     * 预算类型，多条/分隔
     */
    private String type;

    /**
     * 预算类型，多条/分隔
     */
    private String typeDesc;

    /**
     * 是否全部项
     */
    private Boolean isAll;

    /**
     * 金额
     */
    private BigDecimal amount;

    /**
     * 告警阀值
     */
    private BigDecimal warn;

    /**
     * 实际使用金额
     **/
    private BigDecimal amountUsed;

    /**
     * 在途预占金额
     **/
    private BigDecimal amountOccupy;

    /**
     * 是否发送过告警通知
     */
    private Boolean isNotified;

}